package com.codingxyz.simple;

import java.util.Arrays;

public class ArrayDemo {

    public static void main(String[] args) {

        Integer[] data = {1,9,2,5,3};

        Arrays.sort(data);

        Arrays.asList(data).forEach(integer -> System.out.println(integer));
    }


}
